﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="SqlClrTypeMetadata.cs" company="MyCoreLib">
//   Copyright (C) 2014 Alexey Evlampiev. All rights reserved.
// </copyright>
// <summary>
//   Defines the SqlClrTypeMetadata type.
// </summary>
// --------------------------------------------------------------------------------------------------------------------



namespace MyCoreLib.Automation.Data.SqlClient.Metadata
{
    using System;

    public class SqlClrTypeMetadata : ISqlDbObjectMetadata
    {
        public readonly string FullName;
        public SqlClrTypeMetadata(string fullName)
        {
            FullName = fullName;
        }

        string ISqlDbObjectMetadata.FullName
        {
            get { return this.FullName; }
        }

        public override string ToString()
        {
            return FullName;
        }
    }
}
